<?php
/**
 * Created by PhpStorm.
 * User: zhj
 * Date: 2019/4/8
 * Time: 15:00
 */
namespace app\admin\model;

/**
 * 行为日志模型
 */
class Fields extends AdminBase
{
    public static function getListSelf($where=[],$order="id asc",$limit=100)
    {
        if(empty($where)){
            $res = self::where($where)->order($order)->limit(0,$limit)->select();
        }else{
            $res = self::order($order)->order($order)->limit(0,$limit)->select();
        }
        return $res;
    }
}